/**
 * Company : Thai Informatic System Co., Ltd.
 * Created By : Dr.Tree
 * Created On : Jul 16, 2012  12:09:40 AM 
 * e-Mail : chatree@tis.co.th
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : apps.business.process.sales
 * File Name : ProcessingSalesAll.java
 * TODO
 */
package apps.business.process.sales;

import org.apache.log4j.Logger;

import apps.business.process.commons.customer.CustomerProcessing;
import apps.business.process.commons.propertyunit.PropertyUnitProcessing;
import apps.business.process.sales.booking.SalesBookingProcessing;
import apps.business.process.sales.contract.SalesContractProcessing;

/**
 * @author chatree
 *
 */
public class ProcessingSalesAll {
	
	private static final Logger log = Logger.getLogger(ProcessingSalesAll.class);

	/**
	 * 
	 */
	public ProcessingSalesAll() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
				
		try {
		
			// 1 Custoemr 
			new CustomerProcessing().ProcessingAll();
			
			//Unit 
			new PropertyUnitProcessing().ProcessingAll();
			
			// 2 Sales Booking
			new SalesBookingProcessing().ProcessingAll();
			
			// 3 Sales Contract
			new SalesContractProcessing().ProcessingAll();
			
			
		} catch (Exception e) {
			log.error(e.getMessage());
			System.err.println(e.getMessage());
			
		}
		

	}

}
